package com.lulufind.lulu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lulufind.lulu.model.Label;

public interface LabelMapper {
	public Label findByName(@Param("labelName")String labelName);
	public List<Label> findByType(@Param("labelType")int labelType);
	public List<Label> findByDemand(@Param("demandId")int demandId);
	public List<Label> findLabels(@Param("start")int start, @Param("num")int num);
	public int save(Label label);
}
